package com.thinkgem.jeesite.modules.building.dao;

import java.util.List;

import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.modules.building.entity.Room;

@MyBatisDao
public interface RoomDao extends CrudDao<Room>{
	
	public Room findRoomByOwnerId(String ownerId);
	
	public List<Room> findMyAdminRoom(Room room);
	
	public void deleteRoom(String id);
	
	public void deleteRoomByUserId(String id);
	
	public List<Room> findRoomsByBuildingId(String id);
}
